func flatten<%= prefix -%><%= titlelize_property(property) -%>(v interface{}, d *schema.ResourceData, config *Config) interface{} {
  // Handles int given in float64 format
  if floatVal, ok := v.(float64); ok {
    return fmt.Sprintf("%d", int(floatVal))
  }
  return v
}
